<%--
  Created by IntelliJ IDEA.
  User: youpengfei
  Date: 15/1/12
  Time: 下午3:57
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>新增文章</title>
    <link rel="stylesheet" href="/resources/editor.md/css/editormd.css" />
    <script src="/resources/lib/jquery.min.js"></script>
    <script src="/resources/editor.md/js/editormd.min.js"></script>
    <script type="text/javascript">
        $(function() {
            var testEditor = editormd("test-editormd", {
                path : '/resources/lib/'
            });
        });
    </script>
</head>
<body>
<form action="/blog/addPost" method="post">
    <div class="editormd" id="test-editormd">
        <script type="text/markdown">###Hello world!</script>
    </div>
</form>
</body>
</html>
